package org.car.world.core.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.car.world.core.entily.IssueTable;

import io.lettuce.core.dynamic.annotation.Param;

@Mapper
public interface IssueTableMapper {

    int deleteByPrimaryKey(Integer issueId);

    int insert(IssueTable record);

    IssueTable selectByPrimaryKey(Integer issueId);

    List<IssueTable> selectAll();

    int updateByPrimaryKey(IssueTable record);

    int updateByPrimaryKeyPic(Integer issueId);

    List<IssueTable> selectIssueTypelimit(@Param("istype") Integer istype);

    List<IssueTable> selectIssueType(@Param("form") Integer form,
                                     @Param("size") Integer size, @Param("istype") Integer istype);

    int count(@Param("type") Integer type);

}